package school.xauat.offershow.serice.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import school.xauat.offershow.mapper.EducationMapper;
import school.xauat.offershow.pojo.Education;
import school.xauat.offershow.serice.EducationService;

import java.util.List;

/**
 * @author ：zsy
 * @date ：Created 2021/12/16 20:31
 * @description：
 */
@Service
public class EducationServiceImpl implements EducationService {

    @Autowired
    EducationMapper educationMapper;

    @Override
    public List<Education> getAll() {
        return educationMapper.selectByMap(null);
    }
}
